package com.feiclub.subject.domain.convert;


import com.feiclub.subject.domain.entity.SubjectCategoryBO;
import com.feiclub.subject.domain.entity.SubjectLabelBO;
import com.feiclub.subject.infra.basic.entity.SubjectCategory;
import com.feiclub.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDomainConverter {
    SubjectLabelDomainConverter INSTANCE = Mappers.getMapper(SubjectLabelDomainConverter.class);
    SubjectLabel converterBoToLabel(SubjectLabelBO subjectLabelBO);
    List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);

}
